package com.huaxiafinance.management.dto.request;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.util.Date;

public class QueryFrontUserDto {
	private String cellphone;

	private String name;

	private Date createdAt;

	private Date approveAt;

	private Integer page;

	@Min(value = 2, message = "分页最小行数为5")
	@Max(value = 50, message = "分页最大行数为50")
	private int rows;

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	public Date getApproveAt() {
		return approveAt;
	}

	public void setApproveAt(Date approveAt) {
		this.approveAt = approveAt;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "QueryFrontUserDto [cellphone=" + cellphone + ",name=" + name + ",createdAt=" + createdAt + ",approveAt="
				+ approveAt + "]";
	}
}
